#!/usr/bin/python
# -*- coding: UTF-8 -*-

from urllib import request

url = "http://www.baidu.com"
response1 = request.urlopen(url)
print("第一个种方法")

#获取网页内容的长度
print(len(response1.read()))